package com.sccba.emtbusiness.domain;

import com.sccba.common.annotation.Excel;
import com.sccba.common.core.domain.BaseEntity;
import com.sccba.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 发版值班人员对象 yjcz_duty_person
 * 
 * @author lichh
 * @date 2024-04-28
 */
public class YjczDutyPerson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long pkId;

    /** 一级组别 */
    @Excel(name = "一级组别")
    private String dutyFirstLevelGroup;

    /** 二级组别 */
    @Excel(name = "二级组别")
    private String dutySecondLevelGroup;

    private List<YjczFbDuty> fbDutyList;

    public List<YjczFbDuty> getFbDutyList() {
        return fbDutyList;
    }

    public void setFbDutyList(List<YjczFbDuty> fbDutyList) {
        this.fbDutyList = fbDutyList;
    }

    public void setPkId(Long pkId)
    {
        this.pkId = pkId;
    }

    public Long getPkId() 
    {
        return pkId;
    }
    public void setDutyFirstLevelGroup(String dutyFirstLevelGroup) 
    {
        this.dutyFirstLevelGroup = dutyFirstLevelGroup;
    }

    public String getDutyFirstLevelGroup() 
    {
        return dutyFirstLevelGroup;
    }
    public void setDutySecondLevelGroup(String dutySecondLevelGroup) 
    {
        this.dutySecondLevelGroup = dutySecondLevelGroup;
    }

    public String getDutySecondLevelGroup() 
    {
        return dutySecondLevelGroup;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pkId", getPkId())
            .append("dutyFirstLevelGroup", getDutyFirstLevelGroup())
            .append("dutySecondLevelGroup", getDutySecondLevelGroup())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
